<template>
  <div class="page-home">
    <h1>爱旅游</h1>
    <!--
    <Button type="primary">主要按钮</Button>
    <v-button type="success">成功按钮</v-button>
    -->
    <!-- BANNER图 -->
  <HomeBanner/>
  <HotView/>
  <FineView/>
  <TripFooter/>
  </div>
</template>

<script>
// @ is an alias to /src
// import axios from 'axios'
// import { ajax } from '@/utils/ajax'
// 引入组件
// import Button from 'vant/lib/button'
// 引入组件相关的样式
// import 'vant/lib/button/style'
import HomeBanner from '@/components/home/HomeBanner.vue'
import HotView from '@/components/home/HotView.vue'
import FineView from '@/components/home/FineView.vue'
import TripFooter from '@/components/common/TripFooter.vue'

export default {
  name: 'HomeView',
  components: {
    // 'v-button': Button,
    // Button
    HomeBanner,
    HotView,
    FineView,
    TripFooter
  },
  created () {
    /* ajax.get('http://localhost:8080/api/system/slider/list/?types=11').then(resp => {
      console.log('返回的结果；', resp)
    }).catch(err => {
      console.log('请求出错', err)
    }) */
  }
}
</script>
<style lang="less" scoped>
.page-home {
}
</style>
